"""Settings for the printing module."""

import tempfile
from reportlab.lib.pagesizes import LETTER
from reportlab.lib.units import inch
from reportlab.lib import colors


DEBUG = False

DOC_TITLE = "Title 24 Local Ordinance Compliance Documentation"
DOC_SUBJECT = DOC_TITLE + " for: '%s'"
DEFAULT_FONT_NAME = 'Helvetica'
DEFAULT_FONT_SIZE = 12
DEFAULT_FONT_COLOR = 'black'
PAGE_HEIGHT = LETTER[1]
PAGE_WIDTH = LETTER[0]
LEFT_MARGIN = 0.5 * inch
RIGHT_MARGIN = 0.5 * inch
TOP_MARGIN = 0.25 * inch
BOTTOM_MARGIN = 0.5 * inch
LINE_WIDTH = 1
LINE_COLOR = colors.black
DATE_FORMAT = '%B %d, %Y'
SHORT_DATE_FORMAT = '%m/%d/%Y'
HEADER_HEIGHT = 0.35 * inch
FOOTER_HEIGHT = 0.25 * inch
TAG_FONT_NAME = DEFAULT_FONT_NAME
TAG_FONT_SIZE = DEFAULT_FONT_SIZE
TAG_FONT_COLOR = DEFAULT_FONT_COLOR
TEMP_DIR = tempfile.mkdtemp()
STANDARDS_VER = "December, 2005"
TITLE_XML = """<para align="center"><b>
TITLE 24 LOCAL ORDINANCE ENERGY COMPLIANCE REPORT
</b></para>"""